import axios from 'axios'
import { getAdmin, getToken, removeAdmin, removeToken } from './../utils/auth.js';
import qs from 'qs';
import Vue from 'vue';
axios.interceptors.request.use(response => {
    return response;
}, error => {})

axios.interceptors.response.use(response => {
    return response;
}, error => {})
axios.defaults.headers = {
    "Content-Type": "application/json"
};
axios.defaults.baseURL = "http://47.92.222.216:8090";
// axios.defaults.baseURL = "/api"
export default axios;